package com.qingfeng.client.bean;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * @author zhangyuefei
 * @version 1.0
 * @date 2020/1/6 10:16 上午
 */
@ApiModel(value = "com.qingfeng.client.bean.Postage")
@Data
@TableName(value = "postage")
public class Postage {
    /**
     * 邮费id
     */
    @TableId(value = "id", type = IdType.AUTO)
    @ApiModelProperty(value = "邮费id")
    private Long id;

    /**
     * 店铺物流公司id
     */
    @TableField(value = "logistics_company_id")
    @ApiModelProperty(value = "店铺物流公司id")
    private Long logisticsCompanyId;

    /**
     * 商品价格
     */
    @TableField(value = "goods_price")
    @ApiModelProperty(value = "商品价格")
    private Integer goodsPrice;

    /**
     * 商品重量
     */
    @TableField(value = "goods_weight")
    @ApiModelProperty(value = "商品重量")
    private Integer goodsWeight;

    /**
     * 距离
     */
    @TableField(value = "distance")
    @ApiModelProperty(value = "距离")
    private Integer distance;

    /**
     * 数量
     */
    @TableField(value = "goods_num")
    @ApiModelProperty(value = "数量")
    private Integer goodsNum;

    /**
     * 邮费
     */
    @TableField(value = "money")
    @ApiModelProperty(value = "邮费")
    private Integer money;
}